package tk.mybatis.springboot.service;

import tk.mybatis.springboot.common.KeCongResult;
import tk.mybatis.springboot.entity.CustomizedTask;

import java.util.List;
import java.util.Map;

public interface TaskService {

    public KeCongResult pauseTask(String TaskNo);

    public KeCongResult resumeTask(String TaskNo);

    public KeCongResult completeTask(String TaskNo);

    public int saveTask(CustomizedTask task);

    public KeCongResult allVehicleStatus();

    //添加自定义任务
    public KeCongResult postAddTask(CustomizedTask task);

    //删除任务
    public KeCongResult postDeleteTask(CustomizedTask task);

    public List<CustomizedTask> getTaskByPoint(Map<String,Integer> poinMap);

    public KeCongResult allTaskStatus();

    public KeCongResult addMoveTask(CustomizedTask task);

    public List<CustomizedTask> findAllTask();

}
